package com.hz.ruoyilgorder.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.rouyigonggong.domain.LgOutOrder;
import com.hz.rouyigonggong.domain.dto.LgOutOrderDTO;
import com.hz.ruoyilgorder.mapper.LgOutOrderDTOMapper;
import com.hz.ruoyilgorder.mapper.LgOutOrderMapper;
import com.hz.ruoyilgorder.service.LgOutOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Author yzw
 * @Date 2025/3/8 18:12
 * @注释
 */
@Service
public class LgOutOrderServiceImpl extends ServiceImpl<LgOutOrderMapper, LgOutOrder> implements LgOutOrderService {
   @Autowired
   private LgOutOrderMapper lgOutOrderMapper;
   @Autowired
   private LgOutOrderDTOMapper lgOutOrderDTOMapper;


    @Override
    public List<LgOutOrderDTO> querylist(LgOutOrderDTO entity) {
        return lgOutOrderDTOMapper.querylist(entity);
    }

    @Override
    public LgOutOrderDTO getInfo(Integer id) {
        return lgOutOrderDTOMapper.getInfo(id);
    }

    @Override
    public List<LgOutOrderDTO> querybuyer(String buyerPhone) {
        return lgOutOrderDTOMapper.querybuyer(buyerPhone);
    }

    @Override
    public LgOutOrderDTO getOutOrderById(Integer id) {
      return   lgOutOrderDTOMapper.getOutOrderById(id);
    }
}
